package sky.wechat_tools.api;
/*
 *  
 * 主要接口类
 * @author sky
 * @date 2018/10/26 13:29
 * @param 
 * @return 
 */
public interface MainService {
    /*
     *  
     * 响应微信发送的ToKen验证
     * @author sky
     * @param msgSignature
     * @param timestamp 时间戳
     * @param nonce
     * @param data
     * @return boolean
     */
     public boolean checkSignature(String msgSignature, String timestamp, String nonce, String data);

    /*
     *
     * 返回AccessToken
     * @author sky
     * @date 2018/11/8 10:18
     * @param
     * @return AccessToken
     */
     public String  getAccessToken();
}
